import Vue from 'vue'
import App from './App.vue'
// 引入iconfont库的css文件
import './assets/font/iconfont.css'

// 引入按钮组件
import WdButton from './components/button.vue'
// 引入对话框组件
import WdDialogue from './components/dialogue.vue'
// 引入input组件
import WdInput from './components/input.vue'
// 引入switch组件
import WdSwitch from './components/switch.vue'
// 引入radio单选组件
import WdRadio from './components/radio.vue'
// 引入radio-group组件
import WdRadioGroup from './components/radio-group.vue'
// 引入checkbox组件
import WdCheckbox from './components/checkbox.vue'
// 引入checkboxgroup组件
import WdCheckboxGroup from './components/checkbox-group.vue'

Vue.config.productionTip = false

// 注册组件
Vue.component(WdButton.name, WdButton)
Vue.component(WdDialogue.name, WdDialogue)
Vue.component(WdInput.name, WdInput)
Vue.component(WdSwitch.name, WdSwitch)
Vue.component(WdRadio.name, WdRadio)
Vue.component(WdRadioGroup.name, WdRadioGroup)
Vue.component(WdCheckbox.name, WdCheckbox)
Vue.component(WdCheckboxGroup.name, WdCheckboxGroup)
new Vue({
  render: h => h(App)
}).$mount('#app')
